package com.songmao.pricecloudapitest.socket.entity.tcp;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;

/**
 * @author Remy
 * @description :
 * @date 2020-07-07 18:05
 */

@Builder
@Data
public class EncryptionEntity {

    @JSONField(name = "data_type")
    private int dataType;

    @JSONField(name = "data_time", ordinal = 1)
    private long dataTime;

    @JSONField(name = "version", ordinal = 2)
    private String version;

    @JSONField(name = "data", ordinal = 3)
    private UserEntity data;

    @JSONField(name = "key", ordinal = 4)
    private String key;
}
